package com.vincent.dao;

import com.vincent.model.ArticleCategory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("articleCategoryMapper")
public interface ArticleCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleCategory record);

    int insertSelective(ArticleCategory record);

    ArticleCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleCategory record);

    int updateByPrimaryKey(ArticleCategory record);

    List<ArticleCategory> selectAll();
}